package org.jeecg.modules.monitoring.j_monitoring.service;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.monitoring.j_monitoring.entity.MMachineRoom;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 机房
 * @Author: xiaoyq
 * @Date:   2023-02-22
 * @Version: V1.0
 */
public interface IMMachineRoomService extends IService<MMachineRoom> {

    /**
     * 获得所有机房
     * @return
     */
    List<MMachineRoom> getAllList();

    /**
     * 批量更新机房名称
     * @param roomName
     * @param roomId
     * @return
     */
    void batchUpdateMachineName(@Param("roomName") String roomName, @Param("roomId") String roomId);
}
